package com.health.healthSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;

/**
 * 用户管理对象 health_users
 *
 * @author maple
 * @date 2025-02-28
 */
public class HealthUsers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long roleId;

    /** 密码 */
    @Excel(name = "密码")
    private String passwordHash;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 头像 */
    @Excel(name = "头像")
    private String headImg;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 帐号状态 */
    @Excel(name = "帐号状态")
    private String userStatus;
    private Long sysUserId;
    public void setSysUserId(Long sysUserId)
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId()
    {
        return sysUserId;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setRoleId(Long roleId)
    {
        this.roleId = roleId;
    }

    public Long getRoleId()
    {
        return roleId;
    }
    public void setPasswordHash(String passwordHash)
    {
        this.passwordHash = passwordHash;
    }

    public String getPasswordHash()
    {
        return passwordHash;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setHeadImg(String headImg)
    {
        this.headImg = headImg;
    }

    public String getHeadImg()
    {
        return headImg;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setUserStatus(String userStatus)
    {
        this.userStatus = userStatus;
    }

    public String getUserStatus()
    {
        return userStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userid", getUserid())
                .append("username", getUsername())
                .append("roleId", getRoleId())
                .append("passwordHash", getPasswordHash())
                .append("email", getEmail())
                .append("headImg", getHeadImg())
                .append("phone", getPhone())
                .append("userStatus", getUserStatus())
                .toString();
    }
}
